package com.yztc.yidoutang.fragment.pic_fragment;

import com.yztc.yidoutang.bean.TuPianBean;

import java.util.List;
import java.util.Map;

import rx.Subscriber;

/**
 * Created by My on 2016/10/18.
 */

public class PicContract {
    public interface View{
        public void getPicData();

        public void GetPicDataSuccess(TuPianBean tuPianBean);
        public void GetPicDataFail(String msg);
    }

    public interface Presenter{
        public void getPicData(String queryWords);
    }

    public interface Model{
         void getPicData(Map<String,String> map, Subscriber<TuPianBean> subscriber);
    }
}
